package com.contactbook.web.client.dto;

import java.io.Serializable;

public class ContactDTO implements Serializable {

	private static final long serialVersionUID = 1L;
	
	private int id;
	private String 	lastName;
	private String firstName;
	private String email;
	private String address;
	private int zipCode;
	private String town;
	private String country;
	private MaritalStatusDTO maritalStatus;
	private int age;
	private AccountDTO account;
	private GroupDTO group;
	
	public ContactDTO() {}

	public ContactDTO(String firstName, String lastName) {
		this.firstName = firstName;
		this.lastName = lastName;
		this.maritalStatus = MaritalStatusDTO.SINGLE;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public int getZipCode() {
		return zipCode;
	}

	public void setZipCode(int zipCode) {
		this.zipCode = zipCode;
	}

	public String getTown() {
		return town;
	}

	public void setTown(String town) {
		this.town = town;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public MaritalStatusDTO getMaritalStatus() {
		return maritalStatus;
	}

	public void setMaritalStatus(MaritalStatusDTO maritalStatus) {
		this.maritalStatus = maritalStatus;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public AccountDTO getAccount() {
		return account;
	}

	public void setAccount(AccountDTO account) {
		this.account = account;
	}

	public GroupDTO getGroup() {
		return group;
	}

	public void setGroup(GroupDTO group) {
		this.group = group;
	}
	
}
